package com.group.mall.domain.POJO;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Order {
    //订单id
    private Integer orderId;
    //订单总金额
    private float totalFee;

    private Integer paymentType;

    private Long userId;
    //订单的状态：1，未付款(取消，去付款)2、已付款,未发货(退款) 3、已发货,未确认(退款,收货) 4、确认收货，交易成功(去评价) 5、退货，取消订单关闭 6、交易结束，已评价
    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime payTime;
    //发货时间
    private LocalDateTime consignTime;
    //确认收货时间
    private LocalDateTime endTime;
    //退货时间，订单取消时间
    private LocalDateTime closeTime;

    private LocalDateTime commentTime;

    private LocalDateTime updateTime;

    private String operation;
}
